Result Property

Task Parallel System.Threading

Gets the result value of this Task<(Of <(TResult>)>).

Namespace:  System.Threading.Tasks
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Property Result As TResult
C#
public TResult Result { get; internal set; }

Remarks

The get accessor for this property ensures that the asynchronous operation is complete before returning. Once the result of the computation is available, it is stored and will be returned immediately on later calls to Result.

See Also